<?php
/* Smarty version 3.1.30-dev/18, created on 2016-01-12 09:37:46
  from "C:\WDApplications\APMServ5.2.6\www\htdocs\wengdo\templates\news.tpl" */

if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.30-dev/18',
  'unifunc' => 'content_569458ea59df68_72780188',
  'file_dependency' => 
  array (
    'ced250493a14778d9f2f2dce13685344d12fb631' => 
    array (
      0 => 'C:\\WDApplications\\APMServ5.2.6\\www\\htdocs\\wengdo\\templates\\news.tpl',
      1 => 1452562637,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:header.tpl' => 1,
    'file:user_center_header.tpl' => 1,
    'file:footer.tpl' => 1,
  ),
),false)) {
function content_569458ea59df68_72780188 ($_smarty_tpl) {
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文豆集团-IT服务企业</title>
    <link rel="stylesheet" href="css/Common.css">
    <link rel="stylesheet" href="css/news.css">
</head>
<body>
<div class="container">
    <?php if ($_smarty_tpl->tpl_vars['userid']->value == 0) {
$_smarty_tpl->_subTemplateRender("file:header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
} else {
$_smarty_tpl->_subTemplateRender("file:user_center_header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
}?>
    <div class="main">
    <img src="../images/cases_banner.jpg" alt="">
    <p class="main_head_nav">
        <a href="index.php">首页</a>&nbsp>资讯中心
    </p>
    <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['news']->value, 'item');
foreach ($_from as $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
$__foreach_item_0_saved = $_smarty_tpl->tpl_vars['item'];
?>
    <div class="news">
        <h2><a href="news_defail.php?newsid=<?php echo $_smarty_tpl->tpl_vars['item']->value['newsid'];?>
&page=<?php echo $_smarty_tpl->tpl_vars['page']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</a></h2>
        <p class="aticle">
            <?php echo $_smarty_tpl->tpl_vars['item']->value['intro'];?>

        </p>
        <a class="read_all" href="news_defail.php?newsid=<?php echo $_smarty_tpl->tpl_vars['item']->value['newsid'];?>
&page=<?php echo $_smarty_tpl->tpl_vars['page']->value;?>
">阅读全文</a>
        <p class="date">发布日期：<?php echo $_smarty_tpl->tpl_vars['item']->value['addtime'];?>
</p>
    </div>
    <?php
$_smarty_tpl->tpl_vars['item'] = $__foreach_item_0_saved;
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
    <div class="main_page_number">
        <?php echo $_smarty_tpl->tpl_vars['page_links']->value;?>

    </div>
    <?php $_smarty_tpl->_subTemplateRender("file:footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

</div>
</body>
</html><?php }
}
